package com.guigu.qxl.mapper;

import com.guigu.pojo.SysMenus;
import com.guigu.pojo.SysRoles;

import java.util.List;

public interface SysMenusMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SysMenus record);

    SysMenus selectByPrimaryKey(Integer id);

    int updateByPrimaryKey(SysMenus record);

    List<SysMenus> showMenuByRole(SysRoles r2);

    List<SysMenus> showAllMenu();
}